{% extends "wltheme/base.html" %}
{% load future wenlincms_tags wlcore_tags %}

{% block meta_title %}{{ the_post.title }}{% endblock %}

{% if the_post.keywords_string %}
    {% block meta_keywords %}{% metablock %}
        {{ the_post.keywords_string|kwsub }}
    {% endmetablock %}{% endblock %}
{% endif %}

{% block meta_description %}{% metablock %}
    {{ the_post.auto_description|truncatewords:30 }}
{% endmetablock %}{% endblock %}

{% block breadcrumb_menu %}
    <div class="am-container">
        <ol class="am-breadcrumb">
            <li><a href="/" class="am-icon-home">{{ sitesettings.title }}</a></li>
            {% block breadcrumb_menu_more %}{% endblock %}
        </ol>
    </div>
{% endblock %}

{% block extra_js %}
    <script src="{{ STATIC_URL }}{{ "opensource/kindeditor-4.1.10/kindeditor-min.js"|file_time_stamp }}"
            type="text/javascript"></script>
    <script src="{{ STATIC_URL }}{{ "wltheme/js/wenlincms_detail.js"|file_time_stamp }}"
            type="text/javascript"></script>
{% endblock %}
